# str="day day up"
# for i in range(len(str)):
#     print(str[i], end=" ")
#
# list1 = []
# # list1[0]=1
# # list1[1]=2
# list1.append(3)
# list1.append(4)
# print(list1)

list2 = [1, 2, 3]

for i in list2:
    print(i)
list2.insert(1, 10)

print(list2)
list2.extend([11,12])

list3=sorted(list2)
list2.sort(reverse=True)
print(list2)
# del list3
print(list3)


list4=[1,3,5,7,9]
list5= [i**2 for i in range(1,10) if i%2!=0]
print(list5)


str = ('1111',)  #元组类型
print(type(str))

s2=set([5,1,1,1,2,3,4])
s2.pop()
print(s2)

dict1={} #字典类型 有值 是set类型

info={'name':'jack',"age":18}
info['name']='sam'
print(info.values())
